package com.monkeys.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
/**
 * @author KuangTeam
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Points {
    private Long id;
    private Long goodsDemandId;              //关联的订单id
    private Integer targetId;                //目标poi点的id
    private Double lng;                      //冗余字段,经度
    private Double lat;                      //冗余字段,纬度
    private Double weight;                   //货物重量
    private LocalDate deadTime;              //需求失效时间
    private Double pDistance;                //上一个节点的距离
    private Double nDistance;                //下一个节点的距离
}
